Skip to main content

mobileIsNFCEnabled

Type​

function

Summary​

Returns true if the NFC function of the device is enabled, false otherwise.

Syntax​

mobileIsNFCEnabled()

Description​

Use the mobileIsNFCEnabled function to check whether the user has enabled the NFC function of the device.

Examples​

get mobileIsNFCEnabled()
if mobileIsNFCEnabled() is "true" then 
answer "Device NFC has been turned on"
end if

Value​

NameTypeDescription

return

The mobileIsNFCEnabled function returns true if the device NFC function has been enabled and false otherwise.

command: mobileEnableNFCDispatch

function: mobileIsNFCAvailable

message: nfcTagReceived

Compatibility and Support​

Introduced

LiveCode 9.0

OS

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?